<template>
  <div class="common">
    <el-container class="box">
      <el-header><common-header /></el-header>
      <el-container>
        <el-aside width="auto">
          <common-aside />
        </el-aside>
        <el-main>
          <common-tab />
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import commonHeader from '../common/commonHeader'
import commonAside from '../common/commonAside'
import commonTab from '../common/commonTab'
export default {
  name: 'Home',
  components: {
    commonHeader,
    commonAside,
    commonTab
  }
}
</script>

<style lang="stylus" scoped>
@import '../../assets/css/index.styl'
  .common
    back()
    height 100vh
    overflow hidden
    .box
      height 100%
      .el-header
        background #333
      .el-main
        padding-top 0
</style>
